{
  "generic": {
    "type": "gun_turret_ciws"
  },
  "gun": {
    "autoReload": true,
    "pitchIsInternal": true,
    "capacity": 14350,
    "reloadTime": 20,
    "windupTime": 20,
    "muzzleVelocity": 1109,
    "fireDelay": 1.0,
    "gravitationalVelocity": 0.01,
    "bulletSpreadFactor": 0.002,
    "minYaw": -180.0,
    "maxYaw": 180.0,
    "minPitch": -25.0,
    "maxPitch": 85.0,
    "diameter": 30.0,
    "length": 2.8697,
    "minCaseLength": 173.0,
    "maxCaseLength": 173.0,
    "yawSpeed": 2.015135,
    "pitchSpeed": 2.015135
  },
  "parts": [
    {
      "pos": [0.0,-0.4375,-1.1875],
      "canDisableGun": true,
      "maxValue": 2.0,
      "types": ["seat_invisible"]
    }
  ],
  "definitions": [
    {
      "subName": "",
      "name": "DKZ CIWS-300 Sentinel",
      "extraMaterials": []
    }
  ],
  "rendering": {
    "animatedObjects": [
      {
        "objectName": "base",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_yaw",
            "centerPoint": [0.0,0.0,0.0],
            "axis": [0.0,-1.0,0.0]
          }
        ]
      },
      {
        "objectName": "gun",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_pitch",
            "centerPoint": [0.0,1.20472,0.0],
            "axis": [1.0,0.0,0.0]
          }
        ]
      },
      {
        "objectName": "dish",
        "applyAfter": "gun",
        "animations": []
      },
      {
        "objectName": "barrelcover",
        "applyAfter": "gun",
        "animations": [
          {
            "animationType": "visibility",
            "variable": "gun_active",
            "clampMin": -0.001,
            "clampMax": 0.001
          }
        ]
      },
      {
        "objectName": "radar",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "tick",
            "centerPoint": [1.38155,2.46252,-0.50579],
            "axis": [0.0,-20.0,0.0]
          }
        ]
      },
      {
        "objectName": "barrel",
        "applyAfter": "gun",
        "animations": [
          {
            "animationType": "rotation",
            "variable": "gun_windup_rotation",
            "centerPoint": [0.0,1.21124,0.0],
            "axis": [0.0,0.0,-2.5]
          }
        ]
      }
    ],
    "sounds": [
      {
        "name": "dkzpartspack:dkz_minigun_winding",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_windup_time",
            "clampMin": 0.1,
            "clampMax": 15.0
          }
        ],
        "pitchAnimations": [
          {
            "animationType": "translation",
            "variable": "gun_windup_time",
            "axis": [0.0,0.06667,0.0]
          }
        ],
        "looping": true
      },
      {
        "name": "dkzpartspack:dkz_minigun_reloading",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_reload",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ]
      },
      {
        "name": "dkzpartspack:dkz_minigun_firing",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true
      }
    ],
    "particles": []
  },
  "prefixFolders": "5 - armaments division/2 - countermeasure/3 - ciws/",
  "packID": "dkzpartspack",
  "systemName": "dkz_sentinel",
  "classification": "part",
  "general": {
    "name": "DKZ CIWS-300 Sentinel",
    "description": "Load 41 times with 350rnd ammo for maximum capacity",
    "materials": ["oredict:ingotIron:16","mts:unuparts.unuparts_crafting_unu_assembled_bullets:0:1435"]
  }
}